Change scaled histograms to pointers