found the bug, found the bug

last and repeated vertex shouldn’t be inserted. Now insert + tagging
works