static int maxY(Iterable l) { int max = Int.MIN_VALUE; fOr (Pt p : l) max = max(max, p.y); ret max; }