Optimize the indent of the codes.