Gain based on activerobustchi2