fix sweeping step 2
fix sweeping step 3 (txout merge in first)