new heuristic for the assign-coordinates function