corrected ratio binning bug
execute fit_dist2