Thin layer shear and second order homogenization method