astar search now works well