Task: Sentence Composition
Input (English): Then , the entrance position and the height and thickness of the wall is determined based on the orientation .
Output (English): The first step in the construction of a hoop yaodong is to dig the foundation after determining the orientation .