overflow checks
use a ring buffer in the chunker (avoid memmove() call)
