Stacking unit cells of crystals to form a supercell