Complex sentence: The school was popular with students sleeping without beds but the finances were difficult in the first few years.
Split into simpler sentences: The school was so popular initially that students were sleeping without beds. The finances were difficult in the first few years.