A circuit and a method for operating the circuit are disclosed. A first step of the method generally comprises generating a plurality of first intermediate signals in two parallel first operations each responsive to a respective half of a plurality of input signals. A second step involves generating a plurality of result signals in a plurality of first logical operations each responsive to at most two of the first intermediate signals. A third step includes generating a first output signal as a particular one of the result signals, wherein a first delay from the first intermediate signals to the first output signal is at most through one logical gate. A fourth step of the method generally comprises generating a second output signal for a second threshold function in a logical OR operation of the result signals except for the particular one result signal.