Peculiarities of frame memory design for slow-scan readout system for scientific application