improves spectral_hk