minor perf tweaks regarding duplicate verts