It's good that you fixed it.
For future reference, if you have an issue like this, the first thing you should do to debug is to put in a logical debug print statement. Since your concern is the size...