route-distance output modified