Ngā hua rapu - "equalization algorithm"