Finalize automatic reweighting