calculate all ants leave pole time