Improve setting of LDPC parameters