decreased chunks size and moved logging messages