graph length rounded to nearest integer