Refined population scheduling function.