make length be computed by how many lines are added, not specified