_++;
        if (this.firstTaskIndex_ < this.lastTaskIndex_) {
          // The new first window was accounted in innerEQT. Undo that.
          this.innerEQT_ -= contributionToEQT(this.range_,
              this.sortedTasks_[this.firstTaskIndex_]);
        }
      }
      if (this.lastTaskIndex_ + 1 < this.sortedTasks_.length &&
          this.sortedTasks_[this.lastTaskIndex_ + 1].start <
              t + this.windowSize_) {
        // A new task moved in the window.
        if (this.firstTaskIndex_ < thi