remove A and B in computeCellGain