Bug-fix (an off-by-one in malloc. Oh, my... )