1007836: calculate suggested quantity with only matching stacking_ids