added sample optimization for layout-large-land and layout-large