modify data frame constructor logical, avoid char buffer overrun if data frame have many columns.