cut bitwise or of buffers