min size for resizing the mainframe