public Histogram(final long[] upperBounds){
  validateBounds(upperBounds);
  this.upperBounds=Arrays.copyOf(upperBounds,upperBounds.length);
  this.counts=new long[upperBounds.length];
}

public Histogram ( final long [ ] upperBounds ) { validateBounds ( upperBounds ) ; this . upperBounds = Arrays . copyOf ( upperBounds , upperBounds . length ) ; this . counts = new long [ upperBounds . length ] ; }
create a new histogram with a provided list of interval bounds .
