AStar not static anymore. Encapsulates now bestNodeAfterSearch.