Fix unlikely overflows with wd length