use Math.floor instead of double tilde which fails with big numbers
version bump