Scalable and Effective Arithmetic Tree Generation for Adder and Multiplier Designs