Duplicated segments are not allowed in a result