Fixed integer overflow in benchmark test program.
Merge pull request #3 from deuzeman/master

Benchmark fix