from typing import List


def find_multiples(dim1: int, dim2: int) -> List[int]:
    """
    Helper to get different available patching sizes
    by finding the common denominator.
    """
    multiples = []
    for i in range(1, min(dim1, dim2)):
        if dim1 % i == dim2 % i == 0:
            multiples.append(i)
    return multiples