Replaced AveragingHist by ProfileHist