modify method 'splitParagraph' recursion condition