erasure-code: buffer alignment