Because of limited time to film, several edits were made to the script by Beimler. Some of the scenes set in the cave sets were dropped as they would have taken too long to set up. Kor, Worf and Dax were in almost every scene of the episode and so time could not be saved by filming more than one scene at a time. The cave sequences were filmed on the cave standing sets on stage 18 of Paramount Studios. The sets were limited, so Burton said that in order to make it look like the characters were moving through a complex labyrinth of caves, he and director of photography Jonathan West used the sets' depth to make them look like different parts of the caves.