refactored length() in LineInformation to regionLength() + fixed exceptions in SentenceMotion and ParagraphMotion