dichotomy method
dichotomy method changes