Debugged TSAPlanarity after refactoring the acceleration structures to separate classes