Path finding code had been optimized.