Save extents of each layer.