Then, himorogi (temporarily erected sacred space or "altar" used as a locus of worship) was combined with iwakura (dwelling place of a god, usually in reference to a large rock) or iwasaka (the area a deity sits), and the border eventually turned into Tamagaki, which can be seen in current Shrine, instead of stone-built fences.
続いて、神籬と磐座・磐境が結びつき、石造の垣根などに代わり、現在の神社にみられる玉垣に変わっていった。