Some optimization for preview size