Added measure_population_context