Only write 16K bytes to output at a time
Increased version