Compact tree of nn (Hansen)