Add a minimal size of matrix option.