debugging the boundary reflexion pb again; replacing layers_numbers_ by layers_numbers-1