two-pass to twopass dir