Modified the instanciation of MemoryChunk.