added ``dup_rootsum``; faster ``RootSum`` in some cases