def tillingBed(chrName, chrSize, stepSize=10000):
    """tilling whome genome into small sizes"""
    for start in range(0, chrSize, stepSize):
        end = start + stepSize
        if end < chrSize:
            yield chrName, start, end
        else:
            yield chrName, start, chrSize
