Added ability to reuse mesh data.