Polish cross encode, first half of graphic encode