Remove redundancy of thicknesses nodes