check if the size was optimized