Adaption to high spatial inhomogeneity based on wavelets and on local linear smoothing