coords = [(vals[i], vals[i + 1]) for i in range(0, len(vals), 2)]