@staticmethod
def _n_regions_to_allocate(send_buffering, recording):
    """ Get the number of regions that will be allocated
        """
    if recording and send_buffering:
        return 5
    elif recording or send_buffering:
        return 4
    return 3
