Tree Structure for whole cartesian product list

Hey, i’m working on a genetic solver that solves for cost and carbon reduction (among other things) and im having trouble with my data organization.

Before i explain anything else i threw together a smaller example of this same issue

Basically i need all the materials to be an available option for all the surfaces (not top and bottom) thus the cartesian product of things. My goal is to reduce the number of sliders that have to connect to the Wallacei X node (and associated nodes) but i do not have the understanding to do so. In this simple example how might i reduce the number of sliders to 1 slider per data type. (cost and carbon)
Objective (60.5 KB)