The Big Bang Singularity

If the universe started in a big bang, and the initial singularity had infinite density, then why are there clumps (planets, galaxies, stars, etc.) in the universe? Don’t clumps require a nonuniform distribution? Are infinite density and nonuniform distribution mutually exclusive?