Update colorReduce.cpp