Quasi integral of motion for axisymmetric potentials