Well, first:
select second pass: 1 pass
this will walkthrough the whole movie, looking where it needs more/less frames.
when ready, select second pass: 2nd pass, save it over the 1st file
this will read the first file, en add/remove frames and saves the final file.
The file size might be bigger/smaller but the movie will look better in faster scenes.