reset buffer pointers in between sending to nodes