further debug/develop of batch slicing