Yea, that sounds good. I do have one thats almost 5 1/2ft (he was a rescue too), and I have him in a 50g, but a 40 should be good for that male.