Second stable AE and AWB algorithm.