def METHOD_NAME(word, start, level, window_ind, window_size, series_length, level_bits):
    num_quadrants = pow(2, level)
    quadrant = start + int(
        (window_ind + int(window_size / 2)) / int(series_length / num_quadrants)
    )
    return (word << level_bits) | quadrant, num_quadrants