Unless it's an almost linear object, its volume is still a power of two or three of its linear dimensions. Many galaxies are quite flat, so their volume could be approximated as X * r^2, though spherical galaxies also exist.
Long thin cylindrical galaxies, where you could see a linear relationship between length and volume, aren't a thing.