Dynamically set column length