add buffer bytes at the start