segmentize_line added but doesnt produce good result