The `vert_dest_map` array, which contains a map indicating the index of destination vertices, was being copied to another array (`WeldVert`) unnecessarily. By directly using the `vert_dest_map` array, we achieved a performance improvement. The average execution time of different operations was reduced from 267.4ms to 261.3ms, resulting in a 2.3% improvement in overall performance.