speed up feature query