Speed up indentation engine
Added some optimizations to the indent engine.