Alain paces out the rows while checking the iron posts

What is the correctly punctuated version of this sentence?
Alain paces out the rows while checking the iron posts.