| 
Algorithm 1: Dynamic pre-backoff algorithm (DPBO) | 
 Input: , QoS requirements of H2H traffic  
 Initialization:  
  Solve Equation (13) and return ;  
  ;  
  ;  
 Step1: Solve Equations (34), (48) and (49) and return ;  
    Solve Equation (10) and return ;  
    Solve Equation (50) and return ;  
 Step2: for each cycle 
do  
     Solve Equation (12) and return ;  
     # Newly arrived M2M devices execute pre-backoff procedure  
      for
do  
      ;  
      end for  
     # Adjust the pre-backoff window size dynamically  
      if
  
       ;  
       else if
 continuously in time interval   
         ;  
      end if  
        
    end for  
  |