find the histogram cide