Add leastConstrainingValue() function