tokens: The problem seems to be that you are changing only the midpoint of each line segment , rather than changing the rest of the line segment in proportion to its distance from each end to the midpoint .
ner_tags: O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O