Fix clip bug for out of the world extents.
Add minimum aggregation.