Semiclassical quantization of the shell model