The structure of these crystals is not perfect. Sometimes an extra layer of atoms squeezes between other layers during the crystal's formation; sometimes there are holes where atoms are missing.