I think I'm starting to side with Cleon. If a real Titanoboa is 40ft long, then it shouldn't have more hit dice than a purple worm twice its size.
However, looking back at the Monster Manual II, the 40-foot-long fiendwurm is listed as Gargantuan, so I still feel that Gargantuan is the correct...