def METHOD_NAME(meta, ids: np.ndarray) -> np.ndarray:
    """
    Array version of get_chunk_coordinates.
    Assumes all given IDs are in same layer.
    """
    if not len(ids):
        return np.array([])
    layer = get_chunk_layer(meta, ids[0])
    bits_per_dim = meta.bitmasks[layer]
    x_offset = 64 - meta.graph_config.LAYER_ID_BITS - bits_per_dim
    y_offset = x_offset - bits_per_dim
    z_offset = y_offset - bits_per_dim
    ids = np.array(ids, dtype=int)
    X = ids >> x_offset & 2 ** bits_per_dim - 1
    Y = ids >> y_offset & 2 ** bits_per_dim - 1
    Z = ids >> z_offset & 2 ** bits_per_dim - 1
    return np.column_stack((X, Y, Z))