An Automatic Method for Drainage Basin Spatial Range Delineation Using DEMs