Updated preprocessing of population data for fits