When Aghasura, assuming the form of a snake, swallowed Krishna and his friends, the deity grew to a massive size within him, slaying him.
When Aghasura transformed into a serpent and consumed Krishna and his entourage, the deity expanded to an enormous size within him, ultimately overcoming it.