Tree structure for Span statistics of critical path