Avoiding 64-bit calculations in 32-bit application