/// <summary>
 /// Deep copy constructor.
 /// </summary>
 private Bucket(Bucket bucket)
 {
     this.lowerBound = bucket.lowerBound;
     this.upperBound = bucket.upperBound;
     this.depth = bucket.depth;
 }
 /// <summary>
 /// Adds a <c>Bucket</c> to the <c>Histogram</c>.
 /// </summary>
 public void Add(Bucket bucket)
 {
     buckets.Add(bucket);
     areBucketsSorted = false;
 }