Added minimum/maximum constraints.