Rounding the distance