bidib: fix for handling FEATURE_BM_SIZE