code: void getFreqs(LzStore store) {
          int[] sLitLens = this.litLens;
          int[] sDists = this.dists;
          System.arraycopy(Cookie.intZeroes, 0, sLitLens, 0, 288);
          System.arraycopy(Cookie.intZeroes, 0, sDists, 0, 32);
  
          int size = store.size;
          char[] litLens = store.litLens;
          char[] dists = store.dists;
          int[] lengthSymbol = Util.LENGTH_SYMBOL;
          int[] cachedDistSymbol = Util.CACHED_DIST_SYMBOL;
          for (int i = 0; i < size; i++) {
              int d = dists[i];
              int l = litLens[i];
              if (d == 0) {
                  sLitLens[l]++;
              } else {
                  sLitLens[lengthSymbol[l]]++;
                  sDists[cachedDistSymbol[d]]++;
              }
          }
          sLitLens[256] = 1;
          calculate();
      }
docs: Why 32? Expect 30.