add option for controlling B-Tree flags