In pre-3e editions a Fireball would fill up to its full "interior volume", which IIRC is ~33,000 cubic feet. So if you cast it in a confined space, it would indeed blossom out further than you'd expect.
This was not true in 3e, 4e, and now 5e/Next. Fireball is a 20' radius cloud. A "cloud" is a...