Fixed multiresHistogram - now has got the best performance
Merge branch 'hotfix/0.4.1'