Create a position of higher dimension.
The indices up to dimension N are copied. Those between dimensions N and M are taken from the given position.
N
M