Which event takes place first in the stages before the birth of a star?