Crop to selection implementation