new constant encoding