Final version for reduce_KIDS_1.7.6_test