byte type for diffs array
update header comment