Remove function createMesh