preallocating memory
added memory screenshots