transformer to prefer completions of length 1 when doing occurrence sort