path calcutation without gettin local position again