An Algorithm for Calculating the Least Limiting Water Range of Soils