fixup! use Math.floor instead of ~~.