revise bed12 logic and switch to block iterator.  also keep output sorted by source coordinates