Rectify a gross inefficiency in the recursive version of the algorithm; make it more closely match the iterative version.
Rectify a gross inefficiency in the recursive version of the algorithm; make it more closely match the iterative version.

mdickinson/refcycle