Update reduction.c