Crop slice in the framework