moved slicing to driver config.