increase the numerical stability in Kramers orbital construction