private void ensureCapacity(int wordsRequired){
  if (words.length < wordsRequired) {
    int request=Math.max(2 * words.length,wordsRequired);
    words=Arrays.copyOf(words,request);
    sizeIsSticky=false;
  }
}

private void ensureCapacity ( int wordsRequired ) { if ( words . length < wordsRequired ) { int request = Math . max ( 2 * words . length , wordsRequired ) ; words = Arrays . copyOf ( words , request ) ; sizeIsSticky = false ; } }
ensures that the bitset can hold enough words .
