fixCoords function, several experiments