Created a constraint for the units limit.