A new analyse_hist