protected function generateNextMask() {
    if (is_null($this->mask)) {
      $this->generateFirstMask();
      return TRUE;
    }
    if (!$this->generateNextPermutation()) {
      return $this->addPositive();
    }
    return TRUE;
  }