def sample_pts(pts, perc):
    """
  Non-random deterministic shitty sampler
  """
    i = 0
    foo = []
    while i <= 1.0 and int(i * (len(pts) - 1)) < len(pts):
        foo.append(pts[int(i * (len(pts) - 1))])
        i += perc
    return foo
