Fix bugs in BoundingBoxTree1D and BoundingBoxTree2D (issue 82).
Merge branch 'blechta/fix-issue-82'