add findSkeletonMesh and add a new mesh function to remove terminal triangle.