code: def vectorize(e, tolerance=0.1):
      
      tolerance = max(tolerance, e.linewidth)
      is_high = e.height > tolerance
      is_wide = e.width > tolerance
      # if skewed towards a line
      if is_wide and not is_high:
          return (e.width, 0.0)
      if is_high and not is_wide:
          return (0.0, e.height)
docs: vectorizes the pdf object's bounding box
      min_width is the width under which we consider it a line
      instead of a big rectangle