graph length change