thin_table[1, i] = (pat[2, 1] or pat[2, 0] or not pat[0, 0]) and pat[1, 0]