Fixed hypercube merging with typed dimensions.