Improved the generation of node indentation.