Setup LDPC correctly