fixed structure height recursion #2