Magnetic field generation in finite beam plasma system