buggy pathfinding, tree is now of type AA