Asteroid generator refactoring