code: private void checkParaCount() {
          int[] saveLimits;
          byte[] saveLevels;
          int count = paraCount;
          if (count <= paras_level.length)
              return;
          int oldLength = paras_level.length;
          saveLimits = paras_limit;
          saveLevels = paras_level;
          try {
              paras_limit = new int[count * 2];
              paras_level = new byte[count * 2];
          } catch (Exception e) {
              throw new OutOfMemoryError("Failed to allocate memory for paras");
          }
          System.arraycopy(saveLimits, 0, paras_limit, 0, oldLength);
          System.arraycopy(saveLevels, 0, paras_level, 0, oldLength);
      }
docs: /*
  Check that there are enough entries in the arrays paras_limit and paras_level