Bounds for each batch variables are added back. It is not working without bounds.