Digital tree implementation