Modification of the Measure3D class