'Just' origination, destination and two connecting airports gives one four segments to play with each way. I believe you will also find that you need not qualify - by married segment availability - the entire itinerary, just origin-destination and destination-origin. What stopovers and open-jaw routings do to this I do not know...