Use the index when computing row headers width