The paths in the timegraph got more and more vertical up or down with increasing n but the resulting distribution of where the drunkard might be became increasingly regular

What is the correctly punctuated version of this sentence?
The paths in the time-graph got more and more vertical (up or down) with increasing n but the resulting distribution of where the drunkard might be became increasingly regular.