sumset and updated problem types