Removed the command GC allocation to remove a potential bug and swapped it for standard malloc.