Block diagram for the bisection algorithm