Compact tree of John Perfect