more improvements to bloodhist, now resamples