Recursion re-write with KevMo