Creating pyramids for a raster