Add the option to reweight the coh length