Re: wavemap: Avoid resampling if possible