Let us assume that the magnetic field is uniform and is acting along positive x axis in the cubical region.Now if we project a charged particle inside this cube along positive y axis then as the direction of velocity and magnetic field is perpendicular to each other so the resultant trajectory of the particle will be a circle.