This adds an additional float division. Not sure why. Reverted in commit ea38126c563b0e003010979f409657a7624eff12.