Extreme speedup in the creation of the kD-tree buffer.