computeCellGain