I had to look up what `~~` does. Do we really need a faster `Math.floor` here?