Changed calculating of column width