calculate length percentages of width
-rwxr-xr-x 5896 graph