@Zbysss the reason is that G32 runs bed.g but your bed.g contains a G32 command! So the file is infinitely recursive.

Remove the G32 line from bed.g.