Fixed the task in 64 bit systems
Bug introduced by a004c5d639b802b1c73a09d2e07979dae3f843c5

Closes #28