Modified besection_int in bandwidth.py to avoid bad attractor