use special case inlined bisection
Merge pull request #6 from muayyad-alsadi/master

use faster inlined bisection