Changes recursion topic fron doseq to trampoline