optimalSubsetSum added