EPUB defaults to 260K chunks.
Start with that conversion, then convert that
I quit trying to get conversions to do the heavy lifting and just use the Editor along with the TOC tool . It seems to take me less time (and fustration) to just do write some REGEX and set the H tags, then use the TOC tool:major headings
YMMV