Tabs to 4 spaces. Fixed num_len calculation.