made the graph not connect on both ends