Reverse prior to encoding