let
is_in_next_bt pos =
is_in_rect pos next_bt.x0 next_bt.y0 next_bt.width next_bt.height