Magnetic grains in GaAs