make X and Y values unique