pipe_capacity now work as expected