Process the Pipe buffer en bloc.

This results in a significantly speed improvement as the region
modifications are really costly.