added merge_hists