midas_fit_grain
