algorithm:base: add binary search
algorithm:base: update binary search, accelerate