if (intermediate node i receives a route request package at the first time)
{do  {
if (direction from node i to the next hop is similar to the direction of reserved slot in two-hop area)
   it chooses a free slot for node i.
else it chooses the slot which is reserved in two-hop area with different direction.
 }  while (no collision is detected in the selected slot)
if (number of selected slots at node i satisfies the bandwidth requirement for the application)
  it forwards a request package in the allocated slot after node i and slots are added to
  the reservation table.
else node i discards the route request package.
}  end if
Algorithm 1