Improved performance of pieced progress bar