Fix bugs in make_tree.py. Now height of BMS is the same as Yeye He's paper.

Well, I used height-1, which is not correct.