Large performance boost to pathfinding