Put a length limit on the size of the document for coref at 100000 characters