Perform the allocation
Rearrange