Fix to use pathrow to crop DEM.