What happens as you pile mass into a planet is that the planet becomes dense, not large, and this is because of gravity.
Jupiter has more than twice the mass of Saturn, but is only moderately larger in diameter.
You can keep dumping mass into a planet, and it just won't get much bigger, until you have enough mass that fusion kicks off, and then suddenly the now-a-star inflates, because it becomes extremely hot and then you have something the size of the Sun.