pre pathfinding post grid