Priority encoder that finds least significant set bit.