Complex sentence: Port-au-Prince's morgues were quickly overwhelmed with many tens of thousands of bodies having to be buried in mass graves.
Split into simpler sentences: Port-au-Prince's morgues were overwhelmed with tens of thousands of bodies. These had to be buried in mass graves.