added some stub code for using HB in flat mode in lazy strategy