Compact tree of John Gregor