Better rounding, eliminate Math.round()