Changes in AddVarsToCandidates.cc