Initialize buffer to 0