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; obtaining a data value; adding the data value to one of the one or more bins according to the boundaries of the one or more bins; determining whether to modify the set of boundaries; and modifying the set of boundaries according to a result of the determining step.