set min grain size to 4