ENH: changed the method of fitting large texts