code cleanup, better algo for stars&asteroids generation