Scusami, mi fai capire cosa fai qui:


if( balanced(root->left, height, h_temp+1) )

???