attempt to access out of range vertices in attribute