def METHOD_NAME(cls, handle, size):
    """Creates new SharedMem instance that points to already allocated shared
    memory chunk accessible via provided shared memory ``handle``.
    Parameters
    ----------
    `handle`: int
        Handle pointing to already existing shared memory chunk.
    `size` : int
        Size of the existing shared memory chunk.
    """
    instance = cls(handle, size)
    assert os.fstat(handle).st_size >= size
    return instance