Add density consideration for tree level indentation