Remove private helper classes AABB and XY from math/qdt module