erasure-code: buffer alignment

@jannau what do you think ?