Text this: The design of 16X1 array photon counting circuit with brent-kung adder optimization