sets dummy_weight to constant