Split mesh and meshdata for instancing