Fixed a potential bug in edge_connectivity, because of an un-initialized variable.