Mesh now functions based on indices.