Added rescaling of histograms before fit