Points mesh refactoring