PASDK-53: Experimental code for circular buffer overflow/underflow handling