jump point search code cleanup.