allduration is used to compute the line95.

value is 1,2,3....to max

duration*4/4 is make the value 0,4,8,12...  but have larger error. 

this is for memory leak , but is not the root case.