- This allows searching for closest (in terms of heuristic) goal when multiple goal nodes are possible.