Fast Connected Components Computation in Large Graphs by Vertex Pruning