def METHOD_NAME(self, pre, post, pre_chunks=None, post_chunks=None):
    meminfo = psutil.virtual_memory()
    # Div 16 for array copying safety measures
    if (len(pre) + len(post)) * 24 < meminfo.available / 16:
        return ((pre.get_all_chunks(), post.get_all_chunks()),)
    else:
        raise NotImplementedError(
            "Too many cells to fit into memory. "
            "Piecewise import not implemented yet. Open a GitHub issue."
        )