clip data when saving to ply