Added missing math.floor.