Fixes #22 : Fix crash when setAnnotations: is called when the k-d tree is being built