A six foot enclosure will work for a snake up to 12 ft... you could probably keep a male burm in a cage this size it's entire life.
But just remember how big six foot is. I'm not even six foot tall... so the cage would be longer than I if I was laying next to it.