TTSP Gem and line EDIT