New gain algorithm, use only Y.