beremiz

Fix support for adjusting block size to block minimum size and to Viewer scaling
C extension