cleaner indent calculation