Revert "Update DoRec to RecursiveDo"

This reverts commit e94ff1a93c4c5d0a8ffc7b6870dc53e99525ea1a.