size optimization: omit splines of zero length.