Fix piece pipelining as well as blocks.