implement read_bit_inputs in Node