Similar Items: Transfer Function Synthesis without Quantifier Elimination