some incredibly slow geometry operations