Maximally Adaptive Nonparametric Importance Sampling