improve pivot search algorithm and benchmark.
version up