Simple implementation of Graphics' AABB merging. Needs more work.