add virtual vertex for johonson's algo