In the previous scheme, the routing was selected by choosing an input for each output. This commit introduces a parameter which flips things around, choosing an output for each input.