pad unused dim values of size changing matrix?

Christopher Overstreet's icon

I am trying to take a matrix of changing dimensions and input it into a non-adapting matrix, but I want all unused dimensions to set to zero or a number of my choosing. Attached is patch explaining.

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

check out the dstdim attributes:

Max Patch
Copy patch and select New From Clipboard in Max.