adapt SLHA output to the C index convention