Compact tree of John Dewar