code: def tolist(self):
          
          the_list = []
          self._fill_list(self._root, self._shift, the_list)
          the_list.extend(self._tail)
          return the_list
docs: The fastest way to convert the vector into a python list.