def cleanup_coords(coords):
    """
    remove coordinates that are closer than 0.01 (1cm)
    :param coords: list of (x, y) coordinates
    :return: list of (x, y) coordinates
    """
    result = []
    last_coord = coords[-1]
    for coord in coords:
        if ((coord[0] - last_coord[0]) ** 2 + (coord[1] - last_coord[1]) ** 2) ** 0.5 >= 0.01:
            result.append(coord)
        last_coord = coord
    return result