Make pathfinding fast enough to work with mini