set circular buffer size to 20