Adaptive tree codes where feedback is available, modify the encoder on the fly number of bits per branch, and choices of bits on branches can be determined to make inferences more efficient