Fixes to rounding.