def METHOD_NAME(src, n, nprint):
    width = 60
    is_trailing_line = False
    count_modifier = 0.0
    len_of_src = len(src)
    ss = src + src + src[: n % len_of_src]
    # CSF - It's faster to work with a bytearray than a string
    s = bytearray(ss, encoding="utf8")
    if n % width:
        # We don't end on a 60 char wide line
        is_trailing_line = True
        count_modifier = 1.0
    # CSF - Here we are stuck with using an int instead of a float for the loop,
    # but testing showed it still to be faster than a for loop
    count = 0
    end = (n / float(width)) - count_modifier
    while count < end:
        i = count * 60 % len_of_src
        nprint(s[i : i + 60] + b"\n")
        count += 1
    if is_trailing_line:
        nprint(s[-(n % width) :] + b"\n")