shorten: move decoding of prediction order and applying of global offset to