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