quad-tree based pathfinding system