prune cg is necessary.