Make machine_batch convergent