fix bbox compilation after integration into tree