Quadtree Collision detection with BST euler traversal