Row and column extensions of 4-cycle free LDPC codes