d * search algorithm