removed cast in faceGroups[] index