private StepInfo findLast(StepInfo stepInfo) { if (stepInfo.Children.Count == 0) return stepInfo; else return findLast(stepInfo.Children.Last()); }