Loading Connected component (graph theory)