Modified spatial data preparation to further reduce size of raster inputs