set constraints for min and max