Fixed error in changing population size.