code: def _init_logicals(self):
          
          size = self.lines.length() + 1
          self._starts = [None] * size
          self._ends = [None] * size
          for start, end in self._generate(self.lines):
              self._starts[start] = True
              self._ends[end] = True
docs: Should initialize _starts and _ends attributes