extended the column and row processing to 3d, depth is still missing