looping pass scheduling improvements