An efficient way to construct LDPC code by comparing error events using a voting based methodпатент