fixed the min in dup_roots_upper_bound