Move section striping code out of loop