Removed RecurseNumStackFroms and refactored NumStackFroms.