Scanning paragraphs to find overflowing one

Change-Id: Ib6769f663251f35fbd91eb43031ce60f555f897b