Fixed encoding for IPE and PI