Dynamic buffer allocation
The skeleton of bitstarter