runDynamic: no need to write whole buf, only remainder