 
     public let frame : CGRect
     private let config : QuadTreeConfig
+    public var subnodes : [QuadTreeNode]?
 
 //    var topLeft : QuadTreeNode?
 //    var topRight : QuadTreeNode?
 //    var bottomLeft : QuadTreeNode?
 //    var bottomRight : QuadTreeNode?
-
-    public var subnodes : [QuadTreeNode]?
 
     // Optional because this can be nil-ed out later.
     public lazy var items : [Item]? = []

//

import CoreGraphics

private struct QuadTreeConfig {
    let minimumNodeSize : CGSize

        assert(self.frame.intersects(rect))
        return self.rootNode.objectsInRect(rect)
    }
}

public class QuadTreeNode <T> {
