Removed some redundant code from prepare_raster.