Using other contraints to calculate max value and length if not explicitely defined.