implementing resample maks cut
testing most of the methods