Threshold of global stochasticity and universality in Hamiltonian systems