Added adaptive histogram that maintains high CDF accuracy.