Handle mixed tabs and spaces gracefully.
Removed indentation optimization.