Resample path of duplicate points