Reduce half write-batch-size and fix fig.yml