A semiprobabilistic approach for the design of river routing reservoirs