gain = min(high_gain, low_gain)