Using a `with .. select' statement
Combinatorial UDPs will be implemented with a `with ... select' statemetnt. However the input to this must be "locally static". This patch joins the inputs into a vector which can be used as the select expression.