and are u using exact the same code as in the sample? or do u have any other calculations that might explain the overflow (div by zero or something unplecant like that )