Description
With the introduction of LUCENE-8699, I have realised the BKD tree uses quite a lot of heap even when it is not needed, for example for 1D points.
In this issue I propose to create point writers only when needed. In addition I propose to create PointWriters based on the estimated point count given in the constructor.