docs: private void upwardChartPass(CfgParseChart chart) {
      double[] newValues = new double[binaryDistributionWeights.getValues().length];
  
      // spanSize is the number of words *in addition* to the word under
      // spanStart.
      for (int spanSize = 1; spanSize < chart.chartSize(); spanSize++) {
        for (int spanStart = 0; spanStart + spanSize < chart.chartSize(); spanStart++) {
          int spanEnd = spanStart + spanSize;
          calculateInside(spanStart, spanEnd, chart, newValues);
        }
      }
      chart.setInsideCalculated();
    }