adding progress bar to building STRMs