I completely forgot to add assert for mcf_graph.add_edge.
I completely forgot to add assert for mcf_graph.add_edge.