re-add reducing version of knapsack 0/1 in misc/dyn
fix bug in singleton list: index OOB not generated for negatives