Fix jump point search.