changed back to 2 pass for pairing heap...