AMulti-stageProbabilisticAlgorithmforDynamicPath-Planning