Account for extended required space in BHM by adapting the getDynamicElementRequiredPlace function in BHM.