bug on the objective var not consolidated when changed + duplicates eliminated in (weighted) sums