mainWithRounding is now rounded at outerRK instead of Middle