change lineBreak.limit logic a little bit and refactor whiteSpace.update