fixed structure height recursion