static Pt maxPt(Pt a, Pt b) { ret a == null ? b : b == null ? a : Pt(max(a.x, b.x), max(a.y, b.y)); }