tried another graph
fix to double counting the edges