Sand bank formation: comparison between 2D and 3D models