Compact tree of Anna NN