fix in 32-bit support (overflow for 1.0)