Perf optimization: Moved fixed statement outside of the loop in StepHeaders()