use bytesize, instead of length, for chunk calculations in response