changed formula form partialDistance in ChosenRoute