added closeMeshes and trivolume