New rounding algorithm, not used yet by the clients