Missing header
Underflow for really small buffers fixed.