add dynamic line size