small edit to diagonal string length