def _SplitHalves(full_pattern):
    """Attempt splits at halves."""
    splits = []
    n = len(full_pattern)
    if n % 2 == 0:
        m = n // 2
        splits.append([full_pattern[:m], full_pattern[m:]])
    else:
        for m in [(n - 1) // 2, (n + 1) // 2]:
            splits.append([full_pattern[:m], full_pattern[m:]])
    return splits
