def mocked_compute_cell_size(data_dict, by_image):
    """Mocks compute cell size so we don't need to create synthetic data with correct cell size"""
    X = data_dict['X']
    constant_val = X[0, 0, 0, 0]

    # The default resize is 400. We want to create median cell sizes that divide evenly
    # into that number when computing the desired resize ratio

    # even constant_vals will return a median cell size 1/4 the size of the target, odds 4x
    if constant_val % 2 == 0:
        cell_size = 100
    else:
        cell_size = 1600

    return cell_size