convert indentation to spaces, small optimization