I missed a file...
The counting of the iterations is a bit off, but it functions correctly.  I am allowing the binary tree to make decisions on the Y coordinate now.  So if insert_x = node_x than we defer to the Y-coordinate for the decision making.  This makes the tree a bit more even.  Before we were adding anything >= to the right.  So you'd have very unbalanced trees.