throw exception on buffer overflow, also use dedicated buffer for now