Rolling 2-bit encoding keeps the implementation compact while avoiding re-encoding every window from scratch.