Efficient combining of intervals of numbers while keeping track of how frequent numbers within those intervals are featured.