Merge MultiDim and PushMultiDim.