set log(2,size) to node