public void increment(long pos,long len){
  int blockFrom=(int)(pos / blockSize);
  int blockTo=(int)((pos + len) / blockSize) + 1;
  capacity(blockTo);
  for (int i=blockFrom; i < blockTo; i++)   counters.set(i,counters.get(i) + 1);
}

public void increment ( long pos , long len ) { int blockFrom = ( int ) ( pos / blockSize ) ; int blockTo = ( int ) ( ( pos + len ) / blockSize ) + 1 ; capacity ( blockTo ) ; for ( int i = blockFrom ; i < blockTo ; i ++ ) counters . set ( i , counters . get ( i ) + 1 ) ; }
increment counters by given pos and length .
