enable upload of very small blocks
externalize diag buffer handling