change the MC analysis for cs weighting