added random generation of chunk size

Signed-off-by: lolportal <olen-90@gmail.com>