completed graph with normal algorithm