Revert "the intricacies of tail recursion and lazy evaluation"

This reverts commit 35b0ff111c452366025b430a9ba535aa162d7810.