Then , the entrance position and the height and thickness of the wall is determined based on the orientation .
The first step in the construction of a hoop yaodong is to dig the foundation after determining the orientation .