- Set max_candidates.