switch wordspace to unsigned int len