                                                        u_cur, d_cur, l_cur, r_cur,
                                                        selected_disp_pyr_new, selected_disp_pyr_cur,
                                                        data_cost_selected, data_cost,
-                                                       h, w, nr_plane, h2, w2, nr_plane2);
+                                                       h, w, nr_plane, h2, w2, nr_plane2,
+                                                       msg_step, disp_step1, disp_step2);
             cudaSafeCall( cudaGetLastError() );
 
             if (stream == 0)

                                                     const T* u_cur, const T* d_cur, const T* l_cur, const T* r_cur,
                                                     T* data_cost_selected, T* disparity_selected_new, T* data_cost_new,
                                                     const T* data_cost_cur, const T* disparity_selected_cur,
                                                     int nr_plane, int nr_plane2)
        {
            for(int i = 0; i < nr_plane; i++)
            {

                    }
                }

                data_cost_selected[i * disp_step1] = data_cost_cur[id * disp_step1];
                disparity_selected_new[i * disp_step1] = disparity_selected_cur[id * disp_step2];

                u_new[i * disp_step1] = u_cur[id * disp_step2];
                d_new[i * disp_step1] = d_cur[id * disp_step2];
                l_new[i * disp_step1] = l_cur[id * disp_step2];
                r_new[i * disp_step1] = r_cur[id * disp_step2];

                data_cost_new[id * disp_step1] = numeric_limits<T>::max();
            }
        }

