Previously, the set() method would overwrite coordinates completely without min/max'ing the values to preserve the invariant that p1 is the lowest point and p2 the highest.
Previously, the set() method would overwrite coordinates completely without min/max'ing the values to preserve the invariant that p1 is the lowest point and p2 the highest.