decoding working of LDP and LDB sequences