solving the round up problem