While some districts gain, others are left behind