astar alg
astar merge