I have an 02 Hypo male who is 900g in a 15qt tub. He's comfortable.

40 gallon is really too big for such a small snake, not to mention hard to heat and keep humidified. 10-15 gallon or 20 long. Much easier and much less expensive in regards to electricity usage. 40 gallons have alot of air space and if the room isn't heated, you're going to have humidity issues with all of those lights needed to keep the air temp in the 80s.