Add path simplification step.