A slight hot path optimization
Extent computation fix
Beautified a bit
Reimplement bounds to store two pairs of coords