             
             for i in tree.indices.reverse() where tree[i].type == .Leaf{
                 
-                //iterate over nodes, backwards, on the correct layer
+                //iterate over nodes on the correct layer, backwards
                 for j in tree.indices.reverse() where (tree[j].type == .Node) && (getLayerForIndex(j) == firstNodeLayer) {
                     
                     //attach if no child yet, do child2 first because we're filling up backwards

        stackView.distribution = .FillEqually
        return stackView
    }

}
            //if subview is not supposed to be subview, remove
            for subView in nodeView.arrangedSubviews {
                if !childViews.contains(subView) {
                    subView.removeFromSuperview()
                }
            }
