Works with points. Need to fix lines, faces.