merge-ort: record stage and auxiliary info for every path