Added deduplication logic for (x, y, z) points to speed up visualization