Adding sub circuits

In order to do recursion as previously answered we were told to create sub circuits for each recursion case, does that means we can add circuits in the template file named b2g#(numer of inputs) - as we were told not to create different files/libraries,
Or we need to do all the “sub” recurtions circuits in the main file?

I’ve moved your question to the previous thread. In general, if a question is related to a previous post, add it as a reply to it, rather than creating a new one.