{SCAN: An approach to label and relate execution trace segments}