min_max_pts added to shapes.py gives the most extreme values of a shape