added cumulative histograms