Started implementation of batch slicing