Contrary to popular belief, this is a rendering issue rather than an issue with the galaxy generation itself. If you log out and back in, you won't see any cubes (until you jump again). There's a limit to how many stars are rendered in the skybox, and the algorithm to sort out which ones are loaded messes up like this when presented with large amounts of stars.