[added]Solution for Path smoothing