A few optimization for HDRi creation