calculate aabb if not exist