save normal and curvature in binay format