added subset sum