removing souts
one sided binary search
freq distribution withbinary search