remove redundant code for boost_not_in_BH