fix a bug that unused nodes were not removed in a new extracted mesh.