use gsub to replace ?: , length distribution