   size_type i = threadIdx.x + blockIdx.x * blockDim.x;
 
   while( i < input_size ){
-    const auto p = thrust::make_pair(input_keys[i], input_values[i]);
-    the_map->insert(p, op);
+    the_map->insert(input_pairs[i], op);
     i += blockDim.x * gridDim.x;
   }
 

      }
    }

    d_keys = keys;
    d_values = values;
    return TOTAL_PAIRS;
  }

  void check_answer(){


TYPED_TEST_CASE(MapTest, Implementations);

TYPED_TEST(MapTest, InitialState)
{
  using key_type = typename TypeParam::key_type;
