Extended balance_root
to handle root underflow case
#621
+145
−72
balance_root
to handle root underflow case
#621