averages all the leaf-node data together to reduce rank by one.
averages all the data from the third dimension together to reduce rank by one.