geometry.py debugged