A wave splitting approach for a layer