fix quadratic objective support after renaming
counting for preallocation in sum was broken with dependent iterates
merge duplicate coefficients when forming problem