check code of liujinsheng,
verify result - right
ljs - fix block size of calulate_max_min(reduction min/max), otherwise 8K*8K will get wrong result