BBOX rule that respects the dateline

Using a "always the minima" rule for constructing a bbox can result in bboxes that cannot understand crossing the dateline. OTOH, if you always know that the first coordinate in a box is the "lower left" you can detect dateline crossing cases by noticing that the x coordinate of the first corner is greater than that of the second.