fixed jitter function