Adjusting maximum length.