Optimized the medusa image.