Tween.generateData would enter an eternal loop if the total resulted in a float. Now wrapped in Math.floor.