added memshrink