New XRef encoding