Get node level and node height functions added