memory changes for md5