added rest to compute raster statistics