Fix condition for termination of build_basic_arc_intervals.
Add iterator for reading the BWT file.