reindent grid