take the average of the materials in modifiedMarchingCube not the max