Create “sections” of the hallway. Each section will be duplicated and placed in front of the last section when the player reaches the end of each section, and the one before is deleted. Since there is fog, the player won’t notice the sections being deleted.