update grain size