OneWay: fixed bug when pop>1 to calculate ssmd and coef