merge aabb & box into "rect"