Helps calculate which quality items to sell to reach the 40% threshold.