A* and LEE algorithm