Switching from Math.round to Math.floor to better match true native integer math.