Add: filter to remove locally maximal points in the z dimension