z and distance is the same
Rename Selector to Filter
Add filter to restrict the number of points created; remove debug output