Add chunk size to header