changed memory management of empty vertex data object