Compact tree of MacKay