reworked handling of neighbor vertices, now replaced by the other vertex

1 job for master in 3 minutes and 28 seconds (queued for 1 second)