moved vector2 to external
moved aabb to external