DACA, added upto binary search, mod 2