Thanks to Holger Schurig for suggestion about readmem functionality and his feedback.