Save samples with thinning