modify sample a bit