Precise Analysis of pi-calculus in Cubic Time