fixed calc of split gain