Cleaning up MM
Rearrange memory