use binaryTreeReduce1 in test