Rezultaty - binary (while OR whose) optimization algorithm