Lsb-finding priority encoder.