Trouble with infinite recursion in function
<p>I've been working since yesterday to get this function working, but its just not. I've tried everything. I'm using a function that has depth recursion. 
The output I get is very strange:</p>

<pre><code>Im going in with depth: 8
Depth in builder: 8
Depth in builder: 7
Depth in builder: 6
Depth in builder: 5
Depth in builder: 4
Depth in builder: 3
Depth in builder: 2
Depth in builder: 1
Depth in builder: 0
Depth in builder: 0
Depth in builder: 0
Depth in builder: 0
Depth in builder: 1
Depth in builder: 0
Depth in builder: 0
Depth in builder: 0
Depth in builder: 0
Depth in builder: 1

.....
</code></pre>

<p>and then it alternates between those 1's and 0's for ever. How can this be possible? This line shouldnt even display if depth is 0. Why does this just keep going and going?</p>

<p>In case you're wondering, the constructor for the node does not call again the builder. The constructor does not call any outside functions, so now way that its coming from there.</p>
