def func_ideal_length(target_position, no_probe_sites):
    """Finds the optimum length between insertion sites, based on the nucleotide length"""
    length = target_position[-1] - target_position[0] #length of sequence available for probe sites
    no_intervals = no_probe_sites - 1 #number of intervals between probe sites
    ideal_length = length / no_intervals #if positions of the sites available for probes are continuous
    return ideal_length