Feasible optimality of vegetation patterns in river basins