Condensing contaminants with coolers