Fixed calculation of a(ligned)size.

Thanks @b333z for spotting this problem.