Update pn-alg2.c