ALOE-based flexible LDPC decoder