Revert "simplify Bscan"

This reverts commit 534b5ec27b67df9d6a460cef2ed44e8f644bb3d6.