Restructuring and eliminating multiple indents