def _binrange(start, stop):
    """returns a list of ints from start to stop in increments of one binary lshift"""
    out = list()
    out.append(start)
    if start == 0:
        start = 1
        out.append(start)
    while start < stop:
        start = start << 1
        out.append(start)
    return out
