Fixed encoding, need to buffer before applying k-mask