int32 no problem.
The height array must allow for values from 0 to num_of_nodes