adding an item to the basket checks whether it would cause an upperbound violation