making roads into nodes