moved aabb test to it's own module