assign the memory size