We need to call this method for all the reactants on which we want to apply the reactions.
If there is only one reactant, we call this method with an array of one reactant.
If there are multiple reactants, we call this method with an array of the reactants.
This method has to be called for all the reactants
When applying reactions some branches may be dead because it can not be implied in any reaction.
This is the case when we specify a 'min' reaction depth.
This will returno only the valid nodes
We need to call this method for all the reactants on which we want to apply the reactions. If there is only one reactant, we call this method with an array of one reactant. If there are multiple reactants, we call this method with an array of the reactants. This method has to be called for all the reactants