public XIntArray(long size){
  this((byte)(Math.min(30,1 + Math.max(10,(int)(Math.log(size) / Math.log(2))))));
  int segment=(int)(size >>> SEGMENT_BITS);
  grow(segment + 1);
}

public XIntArray ( long size ) { this ( ( byte ) ( Math . min ( 30 , 1 + Math . max ( 10 , ( int ) ( Math . log ( size ) / Math . log ( 2 ) ) ) ) ) ) ; int segment = ( int ) ( size > > > SEGMENT_BITS ) ; grow ( segment + 1 ) ; }
constructs a new array of the given size
