By the time Bakshi was done animating, he had only four weeks left to cut the film from a nearly 150-minute rough cut. Restoring a piece of animation where Gandalf fights the Balrog (replaced in the finished film by a photomontage), Eddie Bakshi remarked that little of the film was left on the cutting room floor. Bakshi asked three additional months to edit the film, but was declined. After test-screenings, it was decided to re-cut the end of the picture so that Gollum would resolve leading Frodo and Sam to Shelob before cutting back to Helm's Deep, so as to not end the film on a cliffhanger.