optimisations for the ocl slicer