fix AABB computation