Solving low-density subset sum problems