lastTaskIndex_ + 1 < sortedTasks.length &&
          sortedTasks[this.lastTaskIndex_ + 1].start < startTime + windowSize) {
        this.lastTaskIndex_++;
      }
      /**
       * @private {number} The sum of EQT contributions for all tasks between
       *     the first task and the last task (excluding the first and the last
       *     tasks). All such tasks are completely inside the window.
       */
      this.innerEQT_ = 0;
      for (let i = this.firstTaskIndex_ + 1; i < this.lastTaskIndex_; i++) 