Comparison of classical and quantum spectra for a totally bound potential