Add a wiring variable to track how each cube gets its input