Added way to detect outer face index.