added some ldpc stuff