Took pass out of the xflow evaluate function and added buffer object to carry input&output buffers