Batch machining