The answer is definitely: "And so it piled up to the ceilings" since the author is using exaggeration as a literary technique to make the situation seem even worse than it is.
Answer: the answer is "And so it piled up to the ceilings"
Explanation: this is because a hyperbole exaggerates the situation in a sentence or writing piece. The garbage didn't really pile up to the ceiling the author just wanted to exaggerate more than it actually is.