Fixed bug: Pointers to vector internas were given away and became invali...

...d because of resizing the vector