chunking in bytesToString