Answer: recursively

AnswerCrossword Clue
recursivelyRECURSIVE, involving or designating a repeated procedure such that the required result at each step except the last is given in terms of the result(s) of the next step