Change indentation
Remove duplicate arguments of MemSpec class.
Allow size of alloc to be dynamic.