New graph A* algorithm.