Ngā hua rapu - binary ((whose OR those) OR while) optimization algorithm