faster ``_choose_factor``; fixed bug in ``rs_hadamard_exp``;
added ``dup_rootsum``