modified analysis code in ccn_coding.c