It is not a copy, getNodes() returns a const&. That's why I create new points two lines below because. Otherwise evil things happen...