Adding code to expand entire mesh