try utilizing a for loop to build the recipe dynamically. point dependencies towards mods that alter the circuit recipes,and have it scan the ingredients used in the circuit, multiply by however many circuits the recipe outputs for that type, and add that ingredient to the recipe. this should result in a recipe that adjusts to whatever mods are used and doesn't make circuits cheaper