Working on merging histograms