update distance rounding