Compact tree of Thomas Keys