Convert candidates to factor