I'd say that you could get away with about a year (depending on growth rate) in the 40, and then transition to a bigger cage like a 4 by 18 or a 4 by 2. For an intelligent lizard like a BTS, try to give them as much space as you can for their adult enclosure. From what I have heard, although they seem lazy, they utilize every inch of their enclosures.