I am not exactly clear about what your logic is. It looks like an AND function or an OR function applied to many conditionals.
Do you need to test all 300 possibilities for each new value of y? A for loop with the i node replacing n is one way of doing this. A shift register can be used to accumulate the AND/OR funcitions for the various values. Some of the math and logic functions can be connnected directly to array wires, saving much wiring and diagram space.
If you can be more specific abput your requirement, someone on the list will likely be able tohelp you.
Lynn