1. A method, comprising: obtaining a set of boundaries, the set of boundaries including boundaries for each of one or more bins, the boundaries for each of the one or more bins including a lower boundary and an upper boundary, wherein the set of boundaries of the one or more bins together define a contiguous range of data values capable of being stored in the one or more bins; in an incremental process: obtaining a single data value; adding the single data value to one of the one or more bins according to the boundaries of the one or more bins; after adding the single data value, determining by a processor whether to modify the set of boundaries; and modifying the set of boundaries incrementally after adding the single data value according to a result of the determining step such that the set of boundaries of the one or more bins together continue to define a contiguous range of data values capable of being stored in the one or more bins.