Set max char lengths