optimization of the graph
Merge branch 'master' of https://github.com/markusmo/epicminic