bug fix in function getSubTriSurfaceMesh.