added regularize normals