Add inbound/outbound segment ids