Related to the above comment, once you put more bins in this object then you should store the bin spacing as well so the information is, in some sense, self contained.