code: def _center(code, segment_dict):
      
      while code in segment_dict:
          segment = segment_dict[code]
          yield segment
          code = segment.center
docs: Starting with `code`, follow segments from target to center.