 
     edgeGeometry = new THREE.Geometry()
     nodeGeometry = new THREE.Geometry()
-    nodeGeometry.nodeIDs = new ResizableBuffer(1, 100, Int32Array)
+    @nodeIDs = nodeGeometry.nodeIDs = new ResizableBuffer(1, 100, Int32Array)
     edgeGeometry.dynamic = true
     nodeGeometry.dynamic = true
 

  addNode : (node) ->

    @nodesBuffer.push(node.pos)
    @nodes.geometry.nodeIDs.push([node.id])

    # Add any edge from smaller IDs to the node
    # ASSUMPTION: if this node is new, it should have a

      @[property].pushSubarray(otherTree[property].getAllElements())

    # merge IDs, nodes and edges
    merge("nodeIDs")
    merge("nodesBuffer")
    merge("edgesBuffer")
    @edgesBuffer.push( @getEdgeArray(lastNode, activeNode) )
