Compressing original graph by SCCs