output indentation speed optimization