I have read all over (forums, books) that a 20 gallon will suit a full grown corn!
My best guess is that when your corn cannot fully stretch out in her enclosure, it is time to upgrade. Many people on here have all kinds of tricks and rules for when to upgrade to a larger enclosure, I have seen.
I have a 15 month old corn in a 15 gallon, probably will upgrade in a few months.