Implementation of dynamic download chunk size.