The inner cell mass of the blastocyst divides rapidly, forming two layers. The top layer becomes the embryo, and cells from there occupy the amniotic cavity. At the same time, the bottom layer forms a small sac (if the cells begin developing in an abnormal position, an ectopic gestation may also occur at this point).