First clean version to extract representative steps