About your comment "regulating its own growth"... No. Snakes do not "get as large as their cage allows". This is a myth.
A burmese python kept in a small take will keep growing... and so will a boa. Some people will starve snakes to "keep them small". I wonder if they think that would be humane to a puppy, or even a human (not saying that you are trying to do this, I just can't stand when I hear people say that cage size dictates the animal's growth).
The too-small tank with clear sides is probably stressing it. You should get a larger cage! In the mean time, cover the glass with paper on some of the walls outside so the poor thing doesn't feel stared at all the time.
You can create a very inexpensive larger cage out of rubbermaid or sterilite storage totes...
-----
Lauren Madar - OphidiaGems.com | CageMakers
1.1 Ball Python, 1.0 Hog Island Boa, 1.1 Hypo BCI, 1.1 Surinam BCC, 1.1 Saharan Sand Boa