Further refine the rounding up algorithm.