Generalized serial schedules for iterative decoding of LDPC codes