State of stress in slabs as a function of large-scale plate kinematics: an approach with 2D and 3D numerical models