Rollnumber and vertex assignment