Set the default length for the attributes
Document that 'max' should be the maximum number of threads