dlm: common max length definitions