smoothing route