improving performance of download batch