Because large class sizes were found to " negatively affect student performance " in city schools , according to the ruling , officials were required to develop and fund a five-year plan to reduce them .