strip kernel to reduce the image size