Memory-allocation in DisplayGrid