bugfixing infinite haar wavelets