replace ckvec with map in satisfiability program