Implementation of RFC 94: Shape Smoothing.