codec: kArray: do not recompute Len constantly.