Removes unnecessary float conversions