Raise exception earlier if chunk size not a multiple of 16.