Adding an error message is an edge has no type when reaching memory allocator and setting a default type size of 1.