Pseudocode of the algorithm
Initialization:
 Device set , Data set , and subinterval set ;
Input: data chunk
Program main: ;
  
  
  Placing the data chunk on the device
  Output: data volume stored on the device
Algorithm 2: Formal description.