Recursion can bite you big time if you’re not careful