Add minimum and maximum constraints