Made it easier to test and improve the rounding.