fixed compact tree layout