Fix Regenerator rounding (use Math.floor)