Creating a common extent for rasters