implemented unequal sample size for sfs