fix column alignment for larger number of terms