The recursion in this case has 0 probability of blowing the stack.  I'm not sure how it's problematic.