private void bitcount(final algo_t that) {
    boolean rc;

    if (that.gfc.mode_gr == 2) {
      rc = tak.scale_bitcount(that.cod_info);
    } else {
      rc = tak.scale_bitcount_lsf(that.gfc, that.cod_info);
    }
    if (!rc) {
      return;
    }
    /* this should not happen due to the way the scalefactors are selected */
    throw new RuntimeException("INTERNAL ERROR IN VBR NEW CODE (986), please send bug report");
  }