docs: def _hole_end(self, position, ignore=None):
          """
          Retrieves the end of hole index from position.
          :param position:
          :type position:
          :param ignore:
          :type ignore:
          :return:
          :rtype:
          """
          for rindex in range(position, self.max_end):
              for starting in self.starting(rindex):
                  if not ignore or not ignore(starting):
                      return rindex
          return self.max_end