debug
turned off some debug
don't upgrade to latest networkx