Improve granularity of the progress bar when loading data