Continuing A* Magic
merged