Compact tree of William Wharam