Function estimation via Unbalanced Haar wavelets