     for (unsigned int i_dep = 0; i_dep < n_depletants; i_dep += n_groups)
         {
         unsigned int i_dep_local = i_dep + group;
-
-        vec3<Scalar> pos_test;
 
         bool active = i_dep_local < n_depletants;
 

    // if the move was not performed or has been rejected before, nothing to do here
    if (i == UINT_MAX || !d_active_cell_accept[active_cell_idx]) return;


    // load updated particle position
    Scalar4 postype_i = texFetchScalar4(d_postype, implicit_postype_tex, i);
    unsigned int type_i = __scalar_as_int(postype_i.w);

            if (active)
                {
                // check depletant overlap with shape at old position
                vec3<Scalar> r_ij = vec3<Scalar>(postype_i_old) - pos_test;
                Scalar4 orientation_i_old = make_scalar4(1,0,0,0);
                Shape shape_i_old(quat<Scalar>(quat<Scalar>(orientation_i_old)), d_params[type_i]);
