An optimization of the cosmics.py module.