Put X and Y cooirdinates on a single line to save space